home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Forgotten Realms Archives (Silver Edition)
/
The Forgotten Realms Archives - Silver Edition.iso
/
DARKNESS
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-01-25
|
953b
|
46 lines
echo off
cls
echo %0
pause
if "%0.bat" == "install.bat" goto fine
echo Please change to the directory that contains the
echo Pools of Darkness Program and re-run install.
echo Note: type "install" in all lower-case letters.
goto exit
:fine
if "%1" == "" goto nodrive
if "%2" == "" goto nodrive
echo Installing as %1:\%2
md %1:\%2
xcopy install.bat %1:\%2 /s
if not exist %1:\%2\install.bat goto died
xcopy *.* %1:\%2 >nul /s
if exist zounds.dax goto cdone
:nodrive
echo Usage: install X Y
echo where X=letter of your hard disk.
echo where Y=name of the directory
echo Example: install c DARKNESS
goto exit
:died
echo There was an error creating %1:\%2
echo Pools of Darkness was not installed.
goto exit
:wrongo
echo Install must be run from the Pools of Darkness Cd only.
goto exit
:cdone
cd %1:\%2
%1:
cls
echo Pools of Darkness is now installed.
echo Run START.BAT to play Pools of Darkness
:exit